inherited frmInvoiceEdit: TfrmInvoiceEdit
  Left = 437
  Top = 200
  Width = 813
  Height = 479
  Caption = #21457#31080#24405#20837
  PixelsPerInch = 96
  TextHeight = 12
  inherited StatusBar1: TStatusBar
    Top = 419
    Width = 797
  end
  inherited Toolbar: TRzToolbar
    Width = 797
    ToolbarControls = (
      tbmenu
      RzSpacer1
      tbprior
      tbnext
      tbsearcher
      tbcopy
      RzSpacer2
      tbnew
      tbedit
      tbdelete
      tbsave
      RzSpacer3
      tbcensor
      tbsubmit
      tbexit
      RzToolButton1)
    inherited tbnew: TRzToolButton
      Hint = #26032#22686#21457#31080
    end
    inherited tbsave: TRzToolButton
      Hint = #20445#23384#21457#31080
    end
    inherited tbcensor: TRzToolButton
      Hint = #23457#26680#21457#31080
    end
    inherited tbsubmit: TRzToolButton
      Hint = #20837#24080#21457#31080
    end
    object RzToolButton1: TRzToolButton
      Left = 508
      Top = 2
      Width = 54
      Height = 40
      DropDownMenu = pmext
      ImageIndex = 132
      Layout = blGlyphTop
      ToolStyle = tsDropDown
      Caption = #36741#21161
    end
  end
  inherited toppanel: TRzPanel
    Width = 797
    Height = 365
    Color = 10092543
    FrameController = FrameController
    object RzLabel5: TRzLabel
      Left = 191
      Top = 196
      Width = 48
      Height = 12
      Caption = #21457#31080#21495#30721
    end
    object RzLabel6: TRzLabel
      Left = 393
      Top = 117
      Width = 48
      Height = 12
      Caption = #21457#31080#31867#22411
    end
    object RzLabel7: TRzLabel
      Left = 393
      Top = 168
      Width = 48
      Height = 12
      Caption = #24320#31080#21517#31216
    end
    object RzLabel8: TRzLabel
      Left = 393
      Top = 195
      Width = 48
      Height = 12
      Caption = #24320#31080#22320#22336
    end
    object RzLabel9: TRzLabel
      Left = 589
      Top = 142
      Width = 24
      Height = 12
      Caption = #36134#21495
    end
    object RzLabel10: TRzLabel
      Left = 589
      Top = 168
      Width = 24
      Height = 12
      Caption = #31246#21495
    end
    object RzLabel11: TRzLabel
      Left = 393
      Top = 145
      Width = 48
      Height = 12
      Caption = #24320#25143#38134#34892
    end
    object RzLabel12: TRzLabel
      Left = 393
      Top = 221
      Width = 24
      Height = 12
      Caption = #22791#27880
    end
    object RzLabel13: TRzLabel
      Left = 393
      Top = 88
      Width = 48
      Height = 12
      Caption = #21333#25454#26085#26399
    end
    object RzLabel14: TRzLabel
      Left = 589
      Top = 116
      Width = 48
      Height = 12
      Caption = #21457#31080#37329#39069
    end
    object RzLabel15: TRzLabel
      Left = 589
      Top = 88
      Width = 48
      Height = 12
      Caption = #21333#25454#32534#30721
    end
    object RzLabel2: TRzLabel
      Left = 8
      Top = 56
      Width = 201
      Height = 33
      AutoSize = False
      Caption = ' '#36827#38144#39033#21457#31080
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object RzDBLabel1: TRzDBLabel
      Left = 216
      Top = 88
      Width = 129
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -24
      Font.Name = #38582#20070
      Font.Style = []
      ParentFont = False
      DataField = 'ORDERSTATE'
      DataSource = MasterDataSource
    end
    object RzLabel3: TRzLabel
      Left = 191
      Top = 332
      Width = 36
      Height = 12
      Caption = #25805#20316#21592
    end
    object RzLabel4: TRzLabel
      Left = 383
      Top = 332
      Width = 36
      Height = 12
      Caption = #23457#26680#20154
    end
    object RzDBEdit5: TRzDBEdit
      Left = 247
      Top = 193
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'INVOICENUMBER'
      TabOrder = 0
    end
    object RzDBDateTimeEdit1: TRzDBDateTimeEdit
      Left = 446
      Top = 84
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ORDERDATE'
      TabOrder = 1
      EditType = etDate
    end
    object RzDBEdit7: TRzDBEdit
      Left = 446
      Top = 165
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'INVOICENAME'
      TabOrder = 2
    end
    object RzDBEdit8: TRzDBEdit
      Left = 446
      Top = 192
      Width = 330
      Height = 20
      DataSource = MasterDataSource
      DataField = 'INVOICEADDRESS'
      TabOrder = 3
    end
    object RzDBEdit9: TRzDBEdit
      Left = 446
      Top = 141
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'BANK'
      TabOrder = 4
    end
    object RzDBEdit10: TRzDBEdit
      Left = 638
      Top = 138
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ACCOUNTNUMBER'
      TabOrder = 5
    end
    object RzDBEdit11: TRzDBEdit
      Left = 638
      Top = 84
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ORDERNUMBER'
      Enabled = False
      TabOrder = 6
    end
    object RzDBEdit12: TRzDBEdit
      Left = 638
      Top = 163
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'TAXNUMBER'
      TabOrder = 7
    end
    object RzDBEdit13: TRzDBEdit
      Left = 446
      Top = 218
      Width = 330
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ORDERNOTE'
      TabOrder = 8
    end
    object DBInvoiceType: TDBComboBoxEh
      Left = 446
      Top = 112
      Width = 140
      Height = 20
      DataField = 'INVOICETYPE'
      DataSource = MasterDataSource
      EditButtons = <>
      Items.Strings = (
        #22686#20540#31246#21457#31080
        #26222#36890#21457#31080
        #25910#25454)
      TabOrder = 9
      Visible = True
    end
    object OrderTypeRadioGroup: TRzRadioGroup
      Left = 16
      Top = 104
      Width = 185
      Height = 49
      Columns = 2
      FrameController = FrameController
      GradientColorStyle = gcsMSOffice
      GradientDirection = gdDiagonalDown
      ItemIndex = 0
      Items.Strings = (
        #36827#39033#21457#31080
        #38144#39033#21457#31080)
      StartYPos = 8
      TabOrder = 10
      Transparent = True
      VerticalSpacing = 8
      VisualStyle = vsGradient
    end
    object RzPanel2: TRzPanel
      Left = 1
      Top = 1
      Width = 795
      Height = 40
      Align = alTop
      FrameController = FrameController
      TabOrder = 11
      object RzLabel1: TRzLabel
        Left = 9
        Top = 15
        Width = 48
        Height = 12
        Caption = #23458#25143#21517#31216
      end
      object tbClientFind: TRzToolButton
        Left = 231
        Top = 8
        ImageIndex = 64
        Images = CommonData.il1
        OnClick = tbClientFindClick
      end
      object RzLabel16: TRzLabel
        Left = 272
        Top = 16
        Width = 48
        Height = 12
        AutoSize = False
        Caption = #26410#32467#37329#39069
      end
      object RzDBEdit1: TRzDBEdit
        Left = 62
        Top = 12
        Width = 163
        Height = 20
        DataSource = dsClient
        DataField = 'CLIENTNAME'
        TabOrder = 0
      end
      object RzDBEdit4: TRzDBEdit
        Left = 326
        Top = 11
        Width = 121
        Height = 20
        DataSource = dsClient
        DataField = 'remainsum'
        ReadOnly = True
        Color = clInfoBk
        TabOrder = 1
      end
    end
    object RzDBEdit2: TRzDBEdit
      Left = 240
      Top = 328
      Width = 121
      Height = 20
      DataSource = MasterDataSource
      DataField = 'ACTORNAME'
      Enabled = False
      TabOrder = 12
    end
    object RzDBEdit6: TRzDBEdit
      Left = 639
      Top = 113
      Width = 140
      Height = 20
      DataSource = MasterDataSource
      DataField = 'TOTALSUM'
      TabOrder = 13
    end
  end
  inherited PageControl: TRzPageControl
    Top = 409
    Width = 797
    Height = 10
    Visible = False
    FixedDimension = 18
  end
  object RzDBEdit3: TRzDBEdit [4]
    Left = 440
    Top = 372
    Width = 121
    Height = 20
    DataSource = MasterDataSource
    DataField = 'CENSOR'
    Enabled = False
    TabOrder = 4
  end
  inherited MasterDataSource: TDataSource
    DataSet = qryInvoiceOrder
    Left = 584
    Top = 80
  end
  inherited DetailDataSource: TDataSource
    DataSet = qryInvoiceItem
    Left = 592
    Top = 336
  end
  inherited ActionList: TActionList
    Top = 464
  end
  inherited DetailsPopupMenu: TPopupMenu
    Left = 416
    Top = 440
  end
  object qryInvoiceOrder: TADOQuery
    Connection = CommonData.conn
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'orderid'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select * from tb_invoiceorder where orderid=:orderid')
    Left = 672
    Top = 76
    object qryInvoiceOrderORDERID: TAutoIncField
      FieldName = 'ORDERID'
      ReadOnly = True
    end
    object qryInvoiceOrderORDERNUMBER: TStringField
      FieldName = 'ORDERNUMBER'
    end
    object qryInvoiceOrderINVOICENUMBER: TStringField
      FieldName = 'INVOICENUMBER'
      Size = 40
    end
    object qryInvoiceOrderINVOICETYPE: TStringField
      FieldName = 'INVOICETYPE'
    end
    object qryInvoiceOrderORDERDATE: TDateTimeField
      FieldName = 'ORDERDATE'
    end
    object qryInvoiceOrderORDERTYPE: TStringField
      FieldName = 'ORDERTYPE'
    end
    object qryInvoiceOrderORDERSTATE: TStringField
      FieldName = 'ORDERSTATE'
    end
    object qryInvoiceOrderTOTALSUM: TBCDField
      FieldName = 'TOTALSUM'
      Precision = 15
      Size = 2
    end
    object qryInvoiceOrderBALANCESUM: TBCDField
      FieldName = 'BALANCESUM'
      Precision = 15
      Size = 2
    end
    object qryInvoiceOrderREMAINSUM: TBCDField
      FieldName = 'REMAINSUM'
      Precision = 15
      Size = 2
    end
    object qryInvoiceOrderACTORNAME: TStringField
      FieldName = 'ACTORNAME'
    end
    object qryInvoiceOrderORDERNOTE: TStringField
      FieldName = 'ORDERNOTE'
      Size = 80
    end
    object qryInvoiceOrderINVOICENAME: TStringField
      FieldName = 'INVOICENAME'
      Size = 80
    end
    object qryInvoiceOrderINVOICEADDRESS: TStringField
      FieldName = 'INVOICEADDRESS'
      Size = 80
    end
    object qryInvoiceOrderACCOUNTNUMBER: TStringField
      FieldName = 'ACCOUNTNUMBER'
      Size = 80
    end
    object qryInvoiceOrderTAXNUMBER: TStringField
      FieldName = 'TAXNUMBER'
      Size = 80
    end
    object qryInvoiceOrderBANK: TStringField
      FieldName = 'BANK'
      Size = 40
    end
    object qryInvoiceOrderCLIENTID: TIntegerField
      FieldName = 'CLIENTID'
    end
    object qryInvoiceOrderISBALANCE: TStringField
      FieldName = 'ISBALANCE'
      FixedChar = True
      Size = 2
    end
    object qryInvoiceOrderISCENSOR: TStringField
      FieldName = 'ISCENSOR'
      FixedChar = True
      Size = 2
    end
    object qryInvoiceOrderCENSOR: TStringField
      FieldName = 'CENSOR'
    end
    object qryInvoiceOrderCOMPANYID: TIntegerField
      FieldName = 'COMPANYID'
    end
    object qryInvoiceOrderINVOICEIMAGE: TBlobField
      FieldName = 'INVOICEIMAGE'
    end
    object qryInvoiceOrderRecordState: TStringField
      FieldName = 'RecordState'
      Size = 50
    end
    object qryInvoiceOrderINVOICEDETAIL: TBlobField
      FieldName = 'INVOICEDETAIL'
    end
  end
  object qryInvoiceItem: TADOQuery
    Connection = CommonData.conn
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'orderid'
        Attributes = [paSigned]
        DataType = ftInteger
        Precision = 10
        Size = 4
        Value = Null
      end>
    SQL.Strings = (
      'select * from tb_invoiceitem where orderid=:orderid')
    Left = 625
    Top = 76
  end
  object qryClient: TADOQuery
    Connection = CommonData.conn
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      '')
    Left = 16
    Top = 100
  end
  object dsClient: TDataSource
    DataSet = qryClient
    Left = 56
    Top = 100
  end
  object OpenDialog: TRzOpenDialog
    Filter = 'pdf'#25991#20214'(*.pdf)|*.pdf'
    Left = 448
    Top = 348
  end
  object OpenDialog1: TRzOpenDialog
    Filter = 'pdf'#25991#20214'(*.pdf)|*.pdf'
    Left = 496
    Top = 348
  end
  object pmext: TPopupMenu
    Left = 352
    Top = 164
    object N1: TMenuItem
      Action = act1
    end
    object N2: TMenuItem
      Action = act2
    end
    object N3: TMenuItem
      Action = act3
    end
    object N4: TMenuItem
      Action = act4
    end
  end
  object actlstext: TActionList
    Images = CommonData.il1
    Left = 288
    Top = 324
    object act1: TAction
      Caption = #19978#20256#21457#31080
      ImageIndex = 70
      OnExecute = act1Execute
    end
    object act2: TAction
      Caption = #26597#30475#21457#31080
      ImageIndex = 80
      OnExecute = act2Execute
    end
    object act3: TAction
      Caption = #19978#20256#28165#21333
      ImageIndex = 70
      OnExecute = act3Execute
    end
    object act4: TAction
      Caption = #26597#30475#28165#21333
      ImageIndex = 80
      OnExecute = act4Execute
    end
  end
end
